package com.kotlin.hxh.ui.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.alibaba.android.arouter.facade.annotation.Route
import com.kotlin.base.utils.RouteTools
import com.kotlin.hxh.R
import com.kotlin.hxh.ui.view.BottomBarTab
import kotlinx.android.synthetic.main.activity_hxh.*

@Route(path = RouteTools.route_hxh)
class HxhActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_hxh)
        initView()

    }

    private fun initView() {
        bottomBar.addItem(BottomBarTab(this, R.drawable.ic_home_white_24dp))
                .addItem(BottomBarTab(this, R.drawable.ic_discover_white_24dp))
                .addItem(BottomBarTab(this, R.drawable.ic_message_white_24dp))
                .addItem(BottomBarTab(this, R.drawable.ic_account_circle_white_24dp))
    }

}
